import * as bar from "./js/foo";
import * as people from "./js/People";
console.log(bar); // Object
console.log(new people.People("zhanglinsss").getName()); // Object
